package com.woniu.cms.contract.core.service;

import com.woniu.cms.contract.core.entity.Bid;
import com.woniu.cms.contract.core.entity.FrameworkContract;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.common.api.Result;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author maple leaf
 * @since 2022-09-17
 */
public interface IFrameworkContractService extends IService<FrameworkContract> {

    //创建框架合同 审批框架合同
    Result addAuditFramework(FrameworkContract frameworkContract);

    //根据合同编号查询
    Result queryFramework(String frameworkContractCode);

    //用于编号生成的查询
    List<FrameworkContract> generatedNumber(String fc, String date, String area);

    Result deleFramework(String frameworkContractCode);

}
